package cn.edu.scau.cmi.linjinyong.singleton;

import javafx.beans.property.SimpleStringProperty;

public class Data {
	private SimpleStringProperty name;
    private SimpleStringProperty object;
    
    public Data(String name, String object) {
    	this.name = new SimpleStringProperty(name);
    	this.object = new SimpleStringProperty(object);
    }
    
    // getter & setter
    public String getName() {
		return name.get();
	}
    public String getObject() {
		return object.get();
	}
    public void setName(String name) {
		this.name.set(name);
	}
    public void setObject(String object) {
		this.object.set(object);
	}
}
